package com.qf.smartdevice.mapper;

import com.qf.smartdevice.pojo.SysLogininfor;
import org.apache.ibatis.annotations.Insert;

/**
 * @author 王博康
 * @version 1.0
 * @project devicemanagementsystem
 * @description: TODO
 * @date 2022/3/19 1:10 星期六
 */
public interface SysLoginInforMapper {

    @Insert("insert into sys_logininfor(login_name,ipaddr,login_location,browser,os,status,msg,login_time) value (#{loginName},#{ipaddr},#{loginLocation},#{browser},#{os},#{status},#{msg},#{loginTime})")
    void addLoginLog(SysLogininfor sysLogininfor);
}
